package com.yhm.myfootbollshow.demos.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yhm.myfootbollshow.demos.entity.dto.PageBase;
import com.yhm.myfootbollshow.demos.entity.po.Product;
import com.yhm.myfootbollshow.demos.entity.vo.ProduceCarousel;
import com.yhm.myfootbollshow.demos.entity.vo.ProduceDetailAndComment;
import com.yhm.myfootbollshow.demos.entity.vo.ProduceFoundation;

import java.util.ArrayList;
import java.util.List;

public interface ProductService extends IService<Product> {

    List<ProduceCarousel> listCarousel();

    List<ProduceFoundation> listFoundation(String categoryId,String name , ArrayList<Integer> priceRange);

    ProduceDetailAndComment getProductDetailAndComment(Long productId);

    IPage<Product> list(PageBase page);
}
